// 部门管理
import request from '@/utils/request'

// 获取用户分页列表
export const getUserList = (data) => {
    return request({ url: `/xddcloud-crm-server/crm/sales/selectSalesList`, method: 'POST', data })
}
// 保存编辑接口
export const postUserEdit = (data) => {
    return request({ url: `/xddcloud-crm-server/crm/sales/updateSales`, method: 'POST', data })
}
// 获取部门组织树
export const batChInsertSales = (data) => {
    return request({ url: `/xddcloud-crm-server/crm/sales/batchInsertSales`, method: 'POST', data })
}
// 删除CRM销售
export const deleteSales = (data) => {
    return request({ url: `/xddcloud-crm-server/crm/sales/deleteSales`, method: 'POST', data })
}
